<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
        <meta name="layout" content="main" />
        <title>Create your MyKnot Profile</title>         
    </head>
    <body>
        <div class="body">
            <h3>Share Your Biography</h3>
            <p>Tell folks a little about yourself...</p>
            <g:if test="${flash.message}">
            <div class="message">${flash.message}</div>
            </g:if>
            <g:hasErrors bean="${profile}">
            <div class="errors">
                <g:renderErrors bean="${profile}" as="list" />
            </div>
            </g:hasErrors>
            <g:form action="create" method="post" >
                <g:hiddenField name="type" value="wedding" />
                <g:render template="form" model="[profile:profile]" />                
                <div class="buttons">
                    <span class="button"><input class="save" type="submit" value="Save My Profile" /></span>
                </div>
            </g:form>
        </div>
    </body>
</html>
